package com.google.code.jgib.growl.requests;

import com.google.code.jgib.util.growl.GntpUtil;

public class GntpNotificationRequest extends AbstractGntpRequest {
	
	public enum NotificationType{
		CONNECT, DISCONNECT, NEWMSG, USERJOIN, USERPART
	}

	
	public void doNotify(String host, int port, NotificationType type, String msg){
		
		requestString += GntpUtil.createNotificationRequest(type, msg);
		doSendRequest(host, port);
	}
}
